﻿<controls:ChildWindow 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" x:Class="WellDone.AddConfiguration"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
           Width="400" Height="180"
           Title="Add Configuration">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <sdk:Label HorizontalAlignment="Left" Content="Configuration Key" Height="19" Margin="10,4,0,0" VerticalAlignment="Top" Width="107"/>
        <TextBox x:Name="tbConfigKey" HorizontalAlignment="Left" Margin="130,0,0,0" VerticalAlignment="Top" Width="220" MaxLength="50"  />
        <sdk:Label HorizontalAlignment="Left" Content="Configuration Value" Height="19" Margin="10,35,0,0" VerticalAlignment="Top" Width="107"/>
        <TextBox x:Name="tbConfigValue" HorizontalAlignment="Left" VerticalContentAlignment="Top" Margin="130,35,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="220" VerticalScrollBarVisibility="Auto" MaxLength="100" Grid.ColumnSpan="2" />
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>